package BankAccount;

public class BankAccount {
    int balance;
    public BankAccount(){
        balance=0;
    }
    public BankAccount(int val){
        balance=val;
    }
    public int getBlance(){
        return balance;
    }
    public void withdraw(int amount){
        balance-=amount;
    }
    public void deposit(int amount){
        balance+=amount;
    }
}
